import pandas as pd
if __name__ == "__main__":
    df = pd.read_excel('/Users/AyseEsra/PycharmProjects/pythonProject1/sentiment_output.xlsx')
    mean_sentiment_scores = df.groupby('username')['sentiment score'].mean()
    print(mean_sentiment_scores)